#ifndef __STDC_HEADERS_H
#define __STDC_HEADERS_H

#include <stddef.h> // Include necessary header file for size_t

// Define fread and fwrite functions if not provided by the system
#ifndef HAVE_FREAD
size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream);
#endif

#ifndef HAVE_FWRITE
size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);
#endif

// Define strcasecmp and strncasecmp functions if not provided by the system
#ifndef HAVE_STRCASECMP
int strcasecmp(const char *s1, const char *s2);
#endif

#ifndef HAVE_STRNCASECMP
int strncasecmp(const char *s1, const char *s2, size_t n);
#endif

#endif /* __STDC_HEADERS_H */